package com.flnet.spsys.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.flnet.spsys.entity.TbWorks;
import com.flnet.spsys.mapper.TbWorksMapper;
import com.flnet.spsys.service.ITbWorksService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TbWorksServiceImpl extends ServiceImpl<TbWorksMapper, TbWorks> implements ITbWorksService {
    @Autowired
    private TbWorksMapper tbWorksMapper;



    @Override
    public TbWorks findByWorksInfo(TbWorks tbWorks) {
        return tbWorksMapper.findByWorksInfo(tbWorks);
    }

    @Override
    public Integer updateWorks(TbWorks tbWorks) {
        return tbWorksMapper.updateWorks(tbWorks);
    }

    @Override
    public TbWorks findWorksDetail(Integer id) {
        return tbWorksMapper.findWorksDetail(id);
    }

    /*@Override
    public TbWorks findWorksById(Integer id) {
        return tbWorksMapper.findWorksById(id);
    }*/
}
